﻿namespace SjEntityClass
{
    /// <summary>
    /// 进项发票主档
    ///</summary>
    [SugarTable("ISAM_T")]
    public class IsamT
    {
        /// <summary>
        /// 企业编号 
        ///</summary>
         [SugarColumn(ColumnName="ISAMENT" ,IsPrimaryKey = true   )]
         public string Isament { get; set; }
        /// <summary>
        /// 资料所有者 
        ///</summary>
         [SugarColumn(ColumnName="ISAMOWNID"    )]
         public string Isamownid { get; set; }
        /// <summary>
        /// 资料所有部门 
        ///</summary>
         [SugarColumn(ColumnName="ISAMOWNDP"    )]
         public string Isamowndp { get; set; }
        /// <summary>
        /// 资料录入者 
        ///</summary>
         [SugarColumn(ColumnName="ISAMCRTID"    )]
         public string Isamcrtid { get; set; }
        /// <summary>
        /// 资料录入部门 
        ///</summary>
         [SugarColumn(ColumnName="ISAMCRTDP"    )]
         public string Isamcrtdp { get; set; }
        /// <summary>
        /// 资料创建日 
        ///</summary>
         [SugarColumn(ColumnName="ISAMCRTDT"    )]
         public DateTime? Isamcrtdt { get; set; }
        /// <summary>
        /// 资料更改者 
        ///</summary>
         [SugarColumn(ColumnName="ISAMMODID"    )]
         public string Isammodid { get; set; }
        /// <summary>
        /// 最近更改日 
        ///</summary>
         [SugarColumn(ColumnName="ISAMMODDT"    )]
         public DateTime? Isammoddt { get; set; }
        /// <summary>
        /// 资料审核者 
        ///</summary>
         [SugarColumn(ColumnName="ISAMCNFID"    )]
         public string Isamcnfid { get; set; }
        /// <summary>
        /// 数据审核日 
        ///</summary>
         [SugarColumn(ColumnName="ISAMCNFDT"    )]
         public DateTime? Isamcnfdt { get; set; }
        /// <summary>
        /// 状态码 
        ///</summary>
         [SugarColumn(ColumnName="ISAMSTUS"    )]
         public string Isamstus { get; set; }
        /// <summary>
        /// 法人 
        ///</summary>
         [SugarColumn(ColumnName="ISAMCOMP"    )]
         public string Isamcomp { get; set; }
        /// <summary>
        /// 收票单号 
        ///</summary>
         [SugarColumn(ColumnName="ISAMDOCNO" ,IsPrimaryKey = true   )]
         public string Isamdocno { get; set; }
        /// <summary>
        /// 项次 
        ///</summary>
         [SugarColumn(ColumnName="ISAMSEQ" ,IsPrimaryKey = true   )]
         public long Isamseq { get; set; }
        /// <summary>
        /// 发票来源 
        ///</summary>
         [SugarColumn(ColumnName="ISAM001"    )]
         public string Isam001 { get; set; }
        /// <summary>
        /// 开发票人 
        ///</summary>
         [SugarColumn(ColumnName="ISAM002"    )]
         public string Isam002 { get; set; }
        /// <summary>
        /// 账务中心(业务组织) 
        ///</summary>
         [SugarColumn(ColumnName="ISAM004"    )]
         public string Isam004 { get; set; }
        /// <summary>
        /// 业务部门(登录部门) 
        ///</summary>
         [SugarColumn(ColumnName="ISAM006"    )]
         public string Isam006 { get; set; }
        /// <summary>
        /// 发票类型 
        ///</summary>
         [SugarColumn(ColumnName="ISAM008"    )]
         public string Isam008 { get; set; }
        /// <summary>
        /// 发票代码 
        ///</summary>
         [SugarColumn(ColumnName="ISAM009"    )]
         public string Isam009 { get; set; }
        /// <summary>
        /// 发票号码 
        ///</summary>
         [SugarColumn(ColumnName="ISAM010"    )]
         public string Isam010 { get; set; }
        /// <summary>
        /// 发票日期 
        ///</summary>
         [SugarColumn(ColumnName="ISAM011"    )]
         public DateTime? Isam011 { get; set; }
        /// <summary>
        /// 税种 
        ///</summary>
         [SugarColumn(ColumnName="ISAM012"    )]
         public string Isam012 { get; set; }
        /// <summary>
        /// 含税否 
        ///</summary>
         [SugarColumn(ColumnName="ISAM0121"    )]
         public string Isam0121 { get; set; }
        /// <summary>
        /// 税率 
        ///</summary>
         [SugarColumn(ColumnName="ISAM013"    )]
         public string Isam013 { get; set; }
        /// <summary>
        /// 币种 
        ///</summary>
         [SugarColumn(ColumnName="ISAM014"    )]
         public string Isam014 { get; set; }
        /// <summary>
        /// 汇率 
        ///</summary>
         [SugarColumn(ColumnName="ISAM015"    )]
         public decimal? Isam015 { get; set; }
        /// <summary>
        /// 购货方名称 
        ///</summary>
         [SugarColumn(ColumnName="ISAM016"    )]
         public string Isam016 { get; set; }
        /// <summary>
        /// 购货方税号 
        ///</summary>
         [SugarColumn(ColumnName="ISAM017"    )]
         public string Isam017 { get; set; }
        /// <summary>
        /// 购货方地址 
        ///</summary>
         [SugarColumn(ColumnName="ISAM018"    )]
         public string Isam018 { get; set; }
        /// <summary>
        /// 购货方电话 
        ///</summary>
         [SugarColumn(ColumnName="ISAM019"    )]
         public string Isam019 { get; set; }
        /// <summary>
        /// 购货方开户银行 
        ///</summary>
         [SugarColumn(ColumnName="ISAM020"    )]
         public string Isam020 { get; set; }
        /// <summary>
        /// 购货方账户编码 
        ///</summary>
         [SugarColumn(ColumnName="ISAM021"    )]
         public string Isam021 { get; set; }
        /// <summary>
        /// 销方银行账户编码 
        ///</summary>
         [SugarColumn(ColumnName="ISAM022"    )]
         public string Isam022 { get; set; }
        /// <summary>
        /// 发票原币税前金额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM023"    )]
         public decimal? Isam023 { get; set; }
        /// <summary>
        /// 发票原币税额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM024"    )]
         public decimal? Isam024 { get; set; }
        /// <summary>
        /// 发票原币含税金额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM025"    )]
         public decimal? Isam025 { get; set; }
        /// <summary>
        /// 发票本币税前金额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM026"    )]
         public decimal? Isam026 { get; set; }
        /// <summary>
        /// 发票本币税额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM027"    )]
         public decimal? Isam027 { get; set; }
        /// <summary>
        /// 发票本币含税金额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM028"    )]
         public decimal? Isam028 { get; set; }
        /// <summary>
        /// 销货方名称 
        ///</summary>
         [SugarColumn(ColumnName="ISAM029"    )]
         public string Isam029 { get; set; }
        /// <summary>
        /// 税号 
        ///</summary>
         [SugarColumn(ColumnName="ISAM030"    )]
         public string Isam030 { get; set; }
        /// <summary>
        /// 销货方地址 
        ///</summary>
         [SugarColumn(ColumnName="ISAM031"    )]
         public string Isam031 { get; set; }
        /// <summary>
        /// 销货方电话 
        ///</summary>
         [SugarColumn(ColumnName="ISAM032"    )]
         public string Isam032 { get; set; }
        /// <summary>
        /// 销货方开户银行 
        ///</summary>
         [SugarColumn(ColumnName="ISAM033"    )]
         public string Isam033 { get; set; }
        /// <summary>
        /// 销货方帐号 
        ///</summary>
         [SugarColumn(ColumnName="ISAM034"    )]
         public string Isam034 { get; set; }
        /// <summary>
        /// 申报数量 
        ///</summary>
         [SugarColumn(ColumnName="ISAM035"    )]
         public decimal? Isam035 { get; set; }
        /// <summary>
        /// 异动状态 
        ///</summary>
         [SugarColumn(ColumnName="ISAM036"    )]
         public string Isam036 { get; set; }
        /// <summary>
        /// 可扣抵编号 
        ///</summary>
         [SugarColumn(ColumnName="ISAM037"    )]
         public string Isam037 { get; set; }
        /// <summary>
        /// 作废(注销)理由码 
        ///</summary>
         [SugarColumn(ColumnName="ISAM038"    )]
         public string Isam038 { get; set; }
        /// <summary>
        /// 作废日期 
        ///</summary>
         [SugarColumn(ColumnName="ISAM039"    )]
         public DateTime? Isam039 { get; set; }
        /// <summary>
        /// 作废时间 
        ///</summary>
         [SugarColumn(ColumnName="ISAM040"    )]
         public string Isam040 { get; set; }
        /// <summary>
        /// 作废人员 
        ///</summary>
         [SugarColumn(ColumnName="ISAM041"    )]
         public string Isam041 { get; set; }
        /// <summary>
        /// 项目作废核准文号 
        ///</summary>
         [SugarColumn(ColumnName="ISAM042"    )]
         public string Isam042 { get; set; }
        /// <summary>
        /// 通关方式注记 
        ///</summary>
         [SugarColumn(ColumnName="ISAM043"    )]
         public string Isam043 { get; set; }
        /// <summary>
        /// 打印次数 
        ///</summary>
         [SugarColumn(ColumnName="ISAM044"    )]
         public string Isam044 { get; set; }
        /// <summary>
        /// 支付工具卡号1 
        ///</summary>
         [SugarColumn(ColumnName="ISAM045"    )]
         public string Isam045 { get; set; }
        /// <summary>
        /// 支付工具卡号2 
        ///</summary>
         [SugarColumn(ColumnName="ISAM046"    )]
         public string Isam046 { get; set; }
        /// <summary>
        /// 支付工具卡号3 
        ///</summary>
         [SugarColumn(ColumnName="ISAM047"    )]
         public string Isam047 { get; set; }
        /// <summary>
        /// 通关注记 
        ///</summary>
         [SugarColumn(ColumnName="ISAM048"    )]
         public string Isam048 { get; set; }
        /// <summary>
        /// 备注说明 
        ///</summary>
         [SugarColumn(ColumnName="ISAM049"    )]
         public string Isam049 { get; set; }
        /// <summary>
        /// 立账单号 
        ///</summary>
         [SugarColumn(ColumnName="ISAM050"    )]
         public string Isam050 { get; set; }
        /// <summary>
        /// 发票原币已折金额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM107"    )]
         public decimal? Isam107 { get; set; }
        /// <summary>
        /// 发票原币已折税额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM108"    )]
         public decimal? Isam108 { get; set; }
        /// <summary>
        /// 发票本币已折金额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM117"    )]
         public decimal? Isam117 { get; set; }
        /// <summary>
        /// 发票本币已折税额 
        ///</summary>
         [SugarColumn(ColumnName="ISAM118"    )]
         public decimal? Isam118 { get; set; }
        /// <summary>
        /// 电子发票否 
        ///</summary>
         [SugarColumn(ColumnName="ISAM200"    )]
         public string Isam200 { get; set; }
        /// <summary>
        /// 捐赠码 
        ///</summary>
         [SugarColumn(ColumnName="ISAM201"    )]
         public string Isam201 { get; set; }
        /// <summary>
        /// 载具类别号码 
        ///</summary>
         [SugarColumn(ColumnName="ISAM202"    )]
         public string Isam202 { get; set; }
        /// <summary>
        /// 载具显码 ID 
        ///</summary>
         [SugarColumn(ColumnName="ISAM203"    )]
         public string Isam203 { get; set; }
        /// <summary>
        /// 载具隐码 ID 
        ///</summary>
         [SugarColumn(ColumnName="ISAM204"    )]
         public string Isam204 { get; set; }
        /// <summary>
        /// 电子发票导出状态 
        ///</summary>
         [SugarColumn(ColumnName="ISAM205"    )]
         public string Isam205 { get; set; }
        /// <summary>
        /// 电子发票导出序号 
        ///</summary>
         [SugarColumn(ColumnName="ISAM206"    )]
         public string Isam206 { get; set; }
        /// <summary>
        /// 电子发票领取方式 
        ///</summary>
         [SugarColumn(ColumnName="ISAM207"    )]
         public string Isam207 { get; set; }
        /// <summary>
        /// 申报年度 
        ///</summary>
         [SugarColumn(ColumnName="ISAM208"    )]
         public string Isam208 { get; set; }
        /// <summary>
        /// 申报月份 
        ///</summary>
         [SugarColumn(ColumnName="ISAM209"    )]
         public string Isam209 { get; set; }
        /// <summary>
        /// 申报据点 
        ///</summary>
         [SugarColumn(ColumnName="ISAM210"    )]
         public string Isam210 { get; set; }
        /// <summary>
        /// 自定义字段(文本)001 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD001"    )]
         public string Isamud001 { get; set; }
        /// <summary>
        /// 自定义字段(文本)002 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD002"    )]
         public string Isamud002 { get; set; }
        /// <summary>
        /// 自定义字段(文本)003 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD003"    )]
         public string Isamud003 { get; set; }
        /// <summary>
        /// 自定义字段(文本)004 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD004"    )]
         public string Isamud004 { get; set; }
        /// <summary>
        /// 自定义字段(文本)005 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD005"    )]
         public string Isamud005 { get; set; }
        /// <summary>
        /// 自定义字段(文本)006 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD006"    )]
         public string Isamud006 { get; set; }
        /// <summary>
        /// 自定义字段(文本)007 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD007"    )]
         public string Isamud007 { get; set; }
        /// <summary>
        /// 自定义字段(文本)008 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD008"    )]
         public string Isamud008 { get; set; }
        /// <summary>
        /// 自定义字段(文本)009 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD009"    )]
         public string Isamud009 { get; set; }
        /// <summary>
        /// 自定义字段(文本)010 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD010"    )]
         public string Isamud010 { get; set; }
        /// <summary>
        /// 自定义字段(数字)011 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD011"    )]
         public decimal? Isamud011 { get; set; }
        /// <summary>
        /// 自定义字段(数字)012 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD012"    )]
         public decimal? Isamud012 { get; set; }
        /// <summary>
        /// 自定义字段(数字)013 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD013"    )]
         public decimal? Isamud013 { get; set; }
        /// <summary>
        /// 自定义字段(数字)014 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD014"    )]
         public decimal? Isamud014 { get; set; }
        /// <summary>
        /// 自定义字段(数字)015 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD015"    )]
         public decimal? Isamud015 { get; set; }
        /// <summary>
        /// 自定义字段(数字)016 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD016"    )]
         public decimal? Isamud016 { get; set; }
        /// <summary>
        /// 自定义字段(数字)017 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD017"    )]
         public decimal? Isamud017 { get; set; }
        /// <summary>
        /// 自定义字段(数字)018 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD018"    )]
         public decimal? Isamud018 { get; set; }
        /// <summary>
        /// 自定义字段(数字)019 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD019"    )]
         public decimal? Isamud019 { get; set; }
        /// <summary>
        /// 自定义字段(数字)020 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD020"    )]
         public decimal? Isamud020 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)021 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD021"    )]
         public DateTime? Isamud021 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)022 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD022"    )]
         public DateTime? Isamud022 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)023 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD023"    )]
         public DateTime? Isamud023 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)024 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD024"    )]
         public DateTime? Isamud024 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)025 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD025"    )]
         public DateTime? Isamud025 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)026 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD026"    )]
         public DateTime? Isamud026 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)027 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD027"    )]
         public DateTime? Isamud027 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)028 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD028"    )]
         public DateTime? Isamud028 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)029 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD029"    )]
         public DateTime? Isamud029 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)030 
        ///</summary>
         [SugarColumn(ColumnName="ISAMUD030"    )]
         public DateTime? Isamud030 { get; set; }
        /// <summary>
        /// 认证否 
        ///</summary>
         [SugarColumn(ColumnName="ISAM051"    )]
         public string Isam051 { get; set; }
        /// <summary>
        /// 原始发票日期 
        ///</summary>
         [SugarColumn(ColumnName="ISAM052"    )]
         public DateTime? Isam052 { get; set; }
        /// <summary>
        /// 发票最终状态 
        ///</summary>
         [SugarColumn(ColumnName="ISAM053"    )]
         public string Isam053 { get; set; }
    }
}
